package com.jwdf.uda.event;

import com.jwdf.uda.ui.fragment.question.bean.NewVote;
import com.jwdf.uda.utils.EventBusUtil;

import java.util.List;

/**
 * Created by Administrator on 2016/9/6.
 */
public class NewVoteEvent implements EventBusUtil.IEvent{
    public static final int EVENT_NEW_VOTE_SAVE = 0x1;
    public static final int EVENT_NEW_VOTE_EDITOR = 0x2;
    private int event;
    private List<NewVote> mNewVoteList;
    public NewVoteEvent(int event){
        this.event = event;
    }
    public NewVoteEvent(int event,List<NewVote> newVoteList){
        this.event = event;
        this.mNewVoteList=newVoteList;
    }
    public int getEvent(){
        return event;
    }

    public List<NewVote> getNewVoteList(){
        return mNewVoteList;
    }
}
